<%--
  @author Duminda Dharmakeerthi
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:include value="./notifications.jsp"/>
<div id="report-module-home" class="module-home">
    <div class="page-title">
        <h2><s:label value="%{getText('reports.label')}"/></h2>
    </div>
    <ul>
        <s:if test="#session.userGroup=='orlm' || #session.userGroup=='lo' || #session.userGroup=='ords'">
            <li><s:a href="initFormList.do"><img src="${pageContext.request.contextPath}/images/list.png"
                                                        alt="Initial Land Report"><span><s:label
                    value="%{getText('init_land_report_by_gn.label')}"/></span></s:a></li>
            <%--<li><s:a href="initLandReport.do"><img src="${pageContext.request.contextPath}/images/detailed-report.png"
                                                          alt="Land Report"><span><s:label
                    value="%{getText('detail_land_report_by_gn.label')}"/></span></s:a></li>--%>

            <li><s:a href="unAlienatedLandList.do"><img
                    src="${pageContext.request.contextPath}/images/item-list-report.png"><span><s:label
                    value="%{getText('lands_available_for_alienation.label')}"/></span></s:a></li>

            <%--<li><s:a href="detailLandReportHome.do"><img src="${pageContext.request.contextPath}/images/detailed-report.png"
                                                          alt="Land Report"><span><s:label
                    value="Test Land Report"/></span></s:a></li>--%>

        </s:if>
        <%-- <s:if test="#session.userGroup=='lo'">
            <li><s:a href="unAlienatedLandList.do"><img
                    src="${pageContext.request.contextPath}/images/alienation-types/unalienated-land.png"><span><s:label
                    value="%{getText('lands_available_for_alienation.label')}"/></span></s:a></li>
        </s:if>--%>
        <%-- <s:if test="#session.userGroup=='orlm' || #session.userGroup=='ords'">
            <li><s:a href="initLandReport.do"><img src="${pageContext.request.contextPath}/images/report.png"
                                                          alt="Land Report"><span><s:label
                    value="%{getText('detail_land_report_by_gn.label')}"/></span></s:a></li>

            <li><s:a href="unAlienatedLandList.do"><img
                    src="${pageContext.request.contextPath}/images/alienation-types/unalienated-land.png"><span><s:label
                    value="%{getText('lands_available_for_alienation.label')}"/></span></s:a></li>

        </s:if>--%>
        <s:if test="#session.userGroup=='lo' || #session.userGroup=='ords'">


            <li><s:a href="initAlienationApplicationReport.do">
                <img src="${pageContext.request.contextPath}/images/applicant-list.png"
                                                                           alt="Land Report"><span><s:label
                    value="%{getText('initial_alienation_application_report.label')}"/></span></s:a></li>
            <li><s:a href="preliminaryCandidatesList.do">
                <img src="${pageContext.request.contextPath}/images/applicant-list.png"
                                                                           alt="Land Report"><span><s:label
                    value="%{getText('preliminarySelectionCandidatesList.label')}"/></span></s:a></li>

            <li><s:a href="shortListedCandidatesList.do">
                <img src="${pageContext.request.contextPath}/images/applicant-list.png"
                                                                           alt="Land Report"><span><s:label
                    value="%{getText('shortListedCandidatesList.label')}"/></span></s:a></li>

            <li><s:a href="loadKachcheryListReport.do">
                            <img src="${pageContext.request.contextPath}/images/applicant-list.png"
                                                                                       alt="Land Report"><span><s:label
                                value="%{getText('land_kachchery_report.label')}"/></span></s:a></li>

            <li><s:a href="detailLandsReport.do">
                                    <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                                         alt="Land Report"><span>
                                        <s:label value="%{getText('detailed_lands_report.label')}"/>
                                    </span></s:a></li>




        </s:if>
        <s:if test="#session.userGroup=='ormoi'">
            <li>
                <s:a href="unRegisteredOrganizationReport.do">
                    <img src="${pageContext.request.contextPath}/images/list.png" alt="UnRegistered Organization Report">
                    <span>
                        <s:label value="%{getText('un_registered_organization_report.label')}"/>
                    </span>
                </s:a>
            </li>
        </s:if>
        <s:elseif test="#session.userGroup =='plc' || #session.userGroup=='lcg' || #session.userGroup=='orlp'">
            <%--<li><s:a href="unAlienatedLandListUpperLevel.do"><img
                    src="${pageContext.request.contextPath}/images/alienation-types/unalienated-land.png"><span><s:label
                    value="%{getText('lands_available_for_alienation.label')}"/></span></s:a></li>--%>

            <li><s:a href="loadKachcheryListReport.do">
                            <img src="${pageContext.request.contextPath}/images/applicant-list.png"
                                                                                       alt="Land Report"><span><s:label
                                value="%{getText('land_kachchery_report.label')}"/></span></s:a></li>
            <li><s:a href="detailLandsReport.do">
                                    <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                                         alt="Land Report"><span>
                                        <s:label value="%{getText('detailed_lands_report.label')}"/>
                                    </span></s:a></li>
        </s:elseif>

         <s:if test="#session.userGroup=='ma' || #session.userGroup=='alc' || #session.userGroup=='lc'">

                <li><s:a href="loadKachcheryListReport.do">
                            <img src="${pageContext.request.contextPath}/images/applicant-list.png"
                                                                                       alt="Land Report"><span><s:label
                                value="%{getText('land_kachchery_report.label')}"/></span></s:a></li>
             <li><s:a href="detailLandsReport.do">
                                     <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                                          alt="Land Report"><span>
                                         <s:label value="%{getText('detailed_lands_report.label')}"/>
                                     </span></s:a></li>

         </s:if>


        <s:if test="#session.userGroup=='sc' || #session.userGroup=='bo' || #session.userGroup=='sh' || #session.userGroup=='sdh' || #session.userGroup=='dh'">
            <li><s:a href="totalIncomeReport.do">
                <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                     alt="Land Report"><span>
                                        <%--<s:label value="%{getText('detailed_lands_report.label')}"/>--%>
                               <s:label value="Total Income Report"/>
                                    </span></s:a>
            </li>

            <li><s:a href="leaseArrearsReport.do">
                <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                     alt="Land Report"><span>
                                        <%--<s:label value="%{getText('detailed_lands_report.label')}"/>--%>
                               <s:label value="Lease Arrears Report"/>
                                    </span></s:a>
            </li>

            <li><s:a href="leaseDetailsReport.do">
                <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                     alt="Land Report"><span>
                                        <%--<s:label value="%{getText('detailed_lands_report.label')}"/>--%>
                               <s:label value="Lease Details Report"/>
                                    </span></s:a>
            </li>

            <li><s:a href="landDetailsReport.do">
                <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                     alt="Land Report"><span>
                                        <%--<s:label value="%{getText('detailed_lands_report.label')}"/>--%>
                               <s:label value="Land Details Report"/>
                                    </span></s:a>
            </li>

            <li><s:a href="ageAnalysisReport.do">
                <img src="${pageContext.request.contextPath}/images/detailed-report.png"
                     alt="Land Report"><span>
                                        <%--<s:label value="%{getText('detailed_lands_report.label')}"/>--%>
                               <s:label value="Age Analysis Report"/>
                                    </span></s:a>
            </li>

        </s:if>





    </ul>
</div>